<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>SMap test</title>
</head>

<script type="text/javascript" src="../smap.js"></script>
<body>

<script>
	Class1 = SMap.Class({
		initialize: function() {
			this.a = 1;
		},
		doIt: function() {
			alert(this.a);
		}
	});
	Class2 = SMap.Class(Class1, {
		initialize: function() {
			this.a = 2;
		},
		doIt: function() {
			Class1.prototype.doIt.apply(this, arguments);
			alert(this.a);
		}
	});
	
	var obj = new Class2();
	var obj2 = new Class2();
	alert(typeof parseFloat(1));
	//alert(obj instanceof Class2);
	(function() {
		var PP = 12;
		//return { PP: 12 };
	})();
	//alert(PP);
	//obj.doIt();
</script>
</body>
</html>